# $Id$
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xcursor-themes
pkgver=1.0.4
pkgrel=1
pkgdesc="X.org Cursor themes"
arch=(any)
url="https://xorg.freedesktop.org/"
license=('MIT')
makedepends=('pkgconfig' 'xorg-xcursorgen' 'xorg-util-macros')
source=(${url}/releases/individual/data/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('e3fd2c05b9df0d88a3d1192c02143295744685f4f9a03db116e206698331bb86')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
